package com.shop.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.shop.pojo.sms.Sms_Seckill_Session;
import com.shop.utils.LayuiUtils;
import com.shop.utils.R;

import java.util.List;

/**
 * 秒杀活动场次表
 */
public interface Sms_Seckill_Session_Service {
    //后台的显示秒杀活动场次表
    LayuiUtils<Sms_Seckill_Session> find_admin_seckill_session_All(Page<Sms_Seckill_Session> pages, Sms_Seckill_Session sss);
    //秒杀活动场次的新增
    R insert_admin_seckill_session_All(Sms_Seckill_Session sss);
    //秒杀活动的删除
    R del_admin_seckill_session_All(List<Integer> id);
    //秒杀活动的修改
    R up_admin_seckill_session_All(Sms_Seckill_Session sss);

//查询秒杀活动场次和他下面的商品
    R findAllSeckill3DaysSession();

    //后台查询每日秒杀活动
    LayuiUtils<Sms_Seckill_Session> find_admin_Mei_Ri_All(Page<Sms_Seckill_Session> pages, Sms_Seckill_Session sss);

    LayuiUtils<Sms_Seckill_Session> find_admin_Mei_Ri_All(Integer page, Integer limit, Sms_Seckill_Session sss);

}
